package com.springboot.cloud.demos.entity.enums;

public enum OrderStatus implements BaseEnum {

    unPay("0", "未支付"), paid("1", "已支付"), cancel("99", "已取消");

    private String code;
    private String name;

    OrderStatus(String code, String name) {
        this.code = code;
        this.name = name;

    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getName() {
        return this.name;
    }
}
